package com.sf.fy.uav.common.request.order;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;


/**
 * @author LTQ
 */

@Data
@Validated
public class PlaceOrderRequest {

    @NotBlank(message = "订单号不能为空")
    @ApiModelProperty("订单号")
    private String tcWaybillNo;

    @ApiModelProperty("起飞节点id")
    private String takeoffConnId;

    @NotBlank(message = "降落节点id不能为空")
    @ApiModelProperty("降落节点id")
    private String landingConnId;

    @NotNull(message = "gps类型不能为空")
    @ApiModelProperty("gps类型")
    private Integer gpsType;

    @NotBlank(message = "寄送者经度不能为空")
    @ApiModelProperty("寄送者经度")
    private String senderLon;

    @NotBlank(message = "寄送者纬度不能为空")
    @ApiModelProperty("寄送者纬度")
    private String senderLat;

    @NotBlank(message = "寄送者地址不能为空")
    @ApiModelProperty("寄送者地址")
    private String senderAddr;

    @NotBlank(message = "寄件人电话不能为空")
    @ApiModelProperty("寄件人电话")
    private String senderTel;

    @NotBlank(message = "寄件人姓名不能为空")
    @ApiModelProperty("寄件人姓名")
    private String senderName;

    @NotBlank(message = "货物类型不能为空")
    @ApiModelProperty("货物类型，平台组要求传1")
    private Integer goodsType;

    @NotBlank(message = "货物重量不能为空")
    @ApiModelProperty("货物重量，小程序决定传值策略，单位为g")
    private Integer goodsWeight;

    @NotBlank(message = "货物尺寸不能为空")
    @ApiModelProperty("货物尺寸")
    private String goodsSize;

    @NotBlank(message = "货物体积不能为空")
    @ApiModelProperty("货物体积，单位cm3")
    private String goodsVolume;

    @NotBlank(message = "收件人经度不能为空")
    @ApiModelProperty("收件人经度")
    private String receiverLon;

    @NotBlank(message = "收件人纬度不能为空")
    @ApiModelProperty("收件人纬度")
    private String receiverLat;

    @NotBlank(message = "收件人地址不能为空")
    @ApiModelProperty("收件人地址")
    private String receiverAddr;

    @NotBlank(message = "收件人电话不能为空")
    @ApiModelProperty("收件人电话")
    private String receiverTel;

    @NotBlank(message = "收件人姓名不能为空")
    @ApiModelProperty("收件人姓名")
    private String receiverName;

    @ApiModelProperty("期望送达时间")
    private String expectReceiveTm;

    @ApiModelProperty("期望寄送时间")
    private String expectSendTm;

    @ApiModelProperty("寄件金额")
    private Double amount;


    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("寄件人门牌号")
    private String senderDoorplate;

    @ApiModelProperty("收件人门牌号")
    private String receiverDoorplate;

}
